<%@page contentType="text/html;charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href='../css/main.css' rel='stylesheet' type='text/css'></link>
		<title>电信运营计费管理系统-资费查询</title>
		<style type="text/css">
</style>
	</head>
	<body>
		<center>
			<!--logo头开始-->
			<%@include file="../common/head.jsp"%>
			<!--logo头结束-->
			<!--功能导航开始-->
			<%@include file="../common/navigation.jsp" %>
			<!--功能导航开结束-->
		</center>
		<!--正文区开始[包含左边的功能操作菜单，与中间的操作区域]-->
		<center>
			<table width='778' height='370' border='1'>
				<tr>
					<!--左边列[功能操作菜单]开始 -->
					<td valign='top' bgcolor='#f8f8f8'>


						<!-- 标准标记库 -->

						<!--菜单标题栏开始-->
						<table width='100%' height='31' border='0' cellspacing='0'
							cellpadding='0' background='../images/index_26.jpg'>
							<tr>
								<td width='18%'>&nbsp;
									
								</td>
								<td width='47%' valign='middle'
									background='../images/ctitle_bak_fcenter.jpg'>
									<span class="channel_title">资费管理<!-- 模块名称 -->></span>
								</td>
								<td width='9%' align='left' valign='middle'
									background='../images/ctitle_bak_fcenter.jpg'>
									<img src="../images/channel_dh_2.jpg" height="12" width="18">
								</td>
								<td width='26%' align='right' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									<img src="../images/ctitle_bak_right.jpg" height="31"
										width="10">
								</td>
							</tr>
						</table>
						<!--菜单标题栏结束-->
						<!--菜单项开始-->
						<table width='100%' border='0' cellspacing='0' cellpadding='0'>
							<tr>
								<td
									style='border-bottom: 1px solid #d5d5d5; border-left: 1px solid #d5d5d5; border-right: 1px solid #d5d5d5;'>
									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
												&nbsp;
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='index.action'>首页</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<!-- 循环显示操作菜单 -->

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
												&nbsp;
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='#'>资费浏览</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
												&nbsp;
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='feeaddform.action'>资费增加</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
												&nbsp;
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='feeprepareupdate.action'>资费修改</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
												&nbsp;
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='feepreparedelete.action'>资费删除</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table cellpadding='0' cellspacing='0' width='100%'>
										<tr>
											<td width='100%' height='3'></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<!--菜单项结束-->
					</td>
					<!--左边列[功能操作菜单]结束 -->

					<!--内容区开始-->
					<td width='575' align='center' valign='top'>


						<!-- 标准标记库 -->


						<table width='100%' height='10%' border='0' cellspacing='0'
							cellpadding='0'>
							<tr>
								<td width='40' background='../images/index_26.jpg'>&nbsp;
									
								</td>
								<!--内容区导航开始-->
								<td align='left' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									<table border='0' cellspacing='0' cellpadding='0'>
										<tr>

											<td height='31' background='../images/ctitle_bak_fcenter.jpg'>
												<a href='../main.htm' class=channel_title>首页</a>
												<img src="../images/sy_2_18.jpg" border="0">
												<a href='../fee/index.htm' class=channel_title>资费管理首页</a>
												<img src="../images/sy_2_18.jpg" border="0">
												<a href='../fee/feebrowse.htm' class=channel_title>资费浏览</a>
											</td>
										</tr>
									</table>
								</td>
								<!--内容区导航结束-->
								<td align='left' valign='middle'
									background='../images/ctitle_bak_center.jpg'>&nbsp;
									
								</td>
								<td width='13' align='right' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									<img src="../images/ctitle_bak_right.jpg" height="31"
										width="10">
								</td>
							</tr>
						</table>
						
						<form method="post" action="feebrowse.action">
						<table width='100%' border='1' cellspacing='0' cellpadding='0'>
							<tr width="100%" height="10%">
								<!-- 显示查询UI -->
								<td align="left" height='31'
									background='../images/ctitle_bak_fcenter.jpg'>
									
										查询条件:资费名称:
										 <input type="text" name="pc.name" value="" style="WIDTH: 60px">
										基费范围:
										<input type="text" name="pc.rateFeeMin" maxlength="20" value=""
											style="WIDTH: 30px">
										-
										<input type="text" name="pc.rateFeeMax" value=""
											style="WIDTH: 30px">
										月租费范围:
										<input type="text" name="pc.baseFeeMin" maxlength="20" value=""
											style="WIDTH: 30px">
										-
										<input type="text" name="pc.baseFeeMax" value=""
											style="WIDTH: 30px">
										<input type="submit" value=" 查询">
									
								</td>
							</tr>
							<tr width="100%" height="300px">
								<td width="100%" valign="top">
									<!-- 显示浏览列表 -->
									<div style="overflow: auto;">
										<table cellspacing='0' cellpadding='0' width="100%" border="1">
											<tr class="tabhead">
												
												<td>
													资费ID
												</td>
												<td>
													资费名称
												</td>
												<td>
													小时费用
												</td>
												<td>
													月租费用
												</td>
												<td>
													资费说明
												</td>
											</tr>
											<!-- 资费列表开始 -->
											
											<s:iterator value="pricingList" status="st" >
											<tr>
												
												<td>
													<s:property value="id"/>
												</td>
												<td>
													<s:property value="name"/>
												</td>
												<td>
													<s:property value="ratefee"/>
												</td>
												<td>
													<s:property value="basefee"/>
												</td>	
												<td>	
													<s:property value="description"/>	
												</td>
											</tr>
											</s:iterator>
											<!-- 资费列表结束 -->
										</table>
									</div>
								</td>
							</tr>
							<tr width="100%" height="20px">
								<!-- 显示分页导航 -->
								<td>
									第${page.page}页/共${page.maxPage}页&nbsp;&nbsp;
								<a href="feebrowse.action
										?pc.name=${pc.name}	
										&pc.baseFeeMin=${pc.baseFeeMin}
										&pc.baseFeeMax=${pc.baseFeeMax}
										&pc.rateFeeMin=${pc.rateFeeMin}
										&pc.rateFeeMax=${pc.rateFeeMax}
										&page.page=1&page.pageSize=${page.pageSize}">第一页</a>
										<!-- **
										pc.name=${pc.name}				//查询条件:资费名称
										pc.baseFeeMin=${pc.baseFeeMin}	//查询条件:基本月租最小值
										pc.baseFeeMax=${pc.baseFeeMax}	//查询条件:基本月租最大值
										pc.rateFeeMin=${pc.rateFeeMin}	//查询条件:小时费用最小值 
										pc.rateFeeMax=${pc.rateFeeMax}	//查询条件:小时费用最大值
										page.page=${page.page}			//分页条件:第几页		
										page.pageSize=${page.pageSize}">//分页条件:最大显示多少条
										 	**	-->
								<a href="feebrowse.action?
										pc.name=${pc.name}
										&pc.baseFeeMin=${pc.baseFeeMin}
										&pc.baseFeeMax=${pc.baseFeeMax}
										&pc.rateFeeMin=${pc.rateFeeMin}
										&pc.rateFeeMax=${pc.rateFeeMax}
										&page.page=${page.prePage}
										&page.pageSize=${page.pageSize}">上一页</a>
										
								<a href="feebrowse.action?
										pc.name=${pc.name}
										&pc.baseFeeMin=${pc.baseFeeMin}
										&pc.baseFeeMax=${pc.baseFeeMax}
										&pc.rateFeeMin=${pc.rateFeeMin}
										&pc.rateFeeMax=${pc.rateFeeMax}
										&page.page=<s:property value="page.nextPage"/>
										&page.pageSize=<s:property value='page.pageSize'/>">下一页</a>
								<a href="feebrowse.action
										?pc.name=${pc.name}
										&pc.baseFeeMin=${pc.baseFeeMin}
										&pc.baseFeeMax=${pc.baseFeeMax }
										&pc.rateFeeMin=${pc.rateFeeMin }
										&pc.rateFeeMax=${pc.rateFeeMax }
										&page.page=${page.maxPage }
										&page.pageSize=${page.pageSize }">尾页</a>								
								</td>
							</tr>
						</table>
						</form>	
					</td>
					<!--内容区结束-->
				</tr>
			</table>
		</center>
		<!--正文区开始[包含左边的功能操作菜单，与中间的操作区域]结束-->


		<!--页面尾巴开始-->
		<%@include file="../common/foot.jsp" %>
		<!--页面尾巴结束-->
	</BODY>
</html>
